import type { Request, Response } from 'express'
import type { RouterConf } from "../types";
import commonRes from '@/utils/commonRes'





const routes: Array<RouterConf> = [
  {
    path: "/success",
    router: async (req: Request, res: Response) => {
      let data = {
        id:1,
        word:'Express Success'
      }
        commonRes(res, data, { type:'SUCCESS', message: '请求成功' })
    },
  },
];

export default routes
